<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>奥特曼大战僵尸</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div id="gameContainer">
        <div id="gameTitle">
            <h1>奥特曼大战僵尸</h1>
            <button id="startBtn">开始游戏</button>
        </div>
        
        <div id="gameArea" style="display: none;">
            <div id="gameInfo">
                <div id="score">得分: <span id="scoreValue">0</span></div>
                <div id="health">生命值: <span id="healthValue">100</span></div>
                <div id="energy">能量: <span id="energyValue">100</span></div>
            </div>
            
            <canvas id="gameCanvas" width="1200" height="600"></canvas>
            
            <div id="controls">
                <div class="control-group">
                    <h3>控制说明</h3>
                    <p>WASD - 移动奥特曼</p>
                    <p>J - 近身格斗攻击（连击系统：连续攻击可累积伤害和特效）</p>
                    <p>K - 发射光线</p>
                    <p>空格 - 跳跃</p>
                    <p style="color: #ff6347; font-weight: bold;">💡 连击技巧：快速连续按J键可触发连击，最高3连击！</p>
                </div>
            </div>
        </div>
        
        <div id="gameOver" style="display: none;">
            <h2>游戏结束</h2>
            <p>最终得分: <span id="finalScore">0</span></p>
            <button id="restartBtn">重新开始</button>
        </div>
    </div>
    
    <script src="game.js"></script>
</body>
</html>